package com.shop.cloud.model.response;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetGoodsCategoryListResponse {
	
	@JsonProperty("id")
    @ApiModelProperty(value = "id", example = "", required = true)
    private Long id;
    
    @JsonProperty("typeName")
    @ApiModelProperty(value = "所属种类名称", example = "", required = true)
    private String typeName;
    
    @JsonProperty("firstName")
    @ApiModelProperty(value = "一级分类名称", example = "", required = true)
    private String firstName;
    
    @JsonProperty("secondName")
    @ApiModelProperty(value = "二级分类名称", example = "", required = true)
    private String secondName;
    
    @JsonProperty("create_time")
    @ApiModelProperty(value = "创建时间", example = "", required = true)
    private Date create_time;
    
    @JsonProperty("last_edit_time")
    @ApiModelProperty(value = "最后编辑时间", example = "", required = true)
    private Date last_edit_time;
    
    @JsonProperty("pId")
    @ApiModelProperty(value = "一级分类Id", example = "", required = true)
    private long pId;

    
	/**
	 * @return the pId
	 */
	public long getpId() {
		return pId;
	}

	/**
	 * @param pId the pId to set
	 */
	public void setpId(long pId) {
		this.pId = pId;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getLast_edit_time() {
		return last_edit_time;
	}

	public void setLast_edit_time(Date last_edit_time) {
		this.last_edit_time = last_edit_time;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getSecondName() {
		return secondName;
	}

	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
